//
//  FlowLayout.m
//  CodeForConstrain
//
//  Created by 李明明 on 15/10/16.
//  Copyright © 2015年 李明明. All rights reserved.
//

#import "FlowLayout.h"

@interface FlowLayout ()<UICollectionViewDelegateFlowLayout>

@end
@implementation FlowLayout


- (instancetype)init
{
    self = [super init];
    if (self) {
        self.itemSize = CGSizeMake(100, 100);
        self.minimumInteritemSpacing = 0;
        self.minimumLineSpacing = 10;
        // 设置headerview的高度
        self.headerReferenceSize = CGSizeMake(30, 40);
    }
    return self;
}




@end
